package com.xnyzc.lhy.mis.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xnyzc.lhy.mis.entity.param.cms.price.PriceParam;
import com.xnyzc.lhy.mis.entity.result.cms.price.RriceResults;
import com.xnyzc.lhy.mis.entity.system.OaSysBillRuleGroup;

import java.util.List;

/**
 * <p>
 * 计费规则表 Mapper 接口
 * </p>
 *
 * @author liuju
 * @since 2019-08-25
 */
public interface OaSysBillRulesMapper extends BaseMapper<OaSysBillRuleGroup> {

    List<RriceResults> rulesCodeGroup(PriceParam priceParam);

    List<RriceResults> officeBillRulesList(PriceParam priceParam);

    OaSysBillRuleGroup selectOn(OaSysBillRuleGroup rules);

    /**
     * 根据计费规则ID查询
     *
     * @param rulesId
     * @return
     */
    OaSysBillRuleGroup selectByRulesId(Long rulesId);

}
